// 删除重复的接口定义
export interface CategoryPath {
  id: string;
  code: string;
  name: string;
  level: number;
}

export interface KnowledgePoint {
  id: string;
  code: string;
  description: string;
  example?: string;
  level1Id: string;
  level2Id?: string;
  level3Id?: string;
  level4Id?: string;
  level5Id?: string;
  level6Id?: string;
  categoryPath?: CategoryPath[];
  createdAt: Date;
  updatedAt: Date;
}

export interface KnowledgePointListResponse {
  items: KnowledgePoint[];
  total: number;
  page: number;
  size: number;
  totalPages: number;
}

export interface KnowledgePointDeleteResponse {
  count: number;
}
